<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html>
<html lang="en"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    
   
<!--<h3>Gr&#225;fica Luna</h3>-->
<h:graphicImage  library="pics" name="logotipo2.png" width="120px;"/>

<div class="panel panel-default">
    <h:form id="formMenu">
    <div>
      <ul class="nav nav-pills">  
        <li class="dropdown"> 
            <a id="drop4" role="button" data-toggle="dropdown" href="#"><b>PLANIFICACION</b> <b class="caret"></b></a>
          <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
            <li role="presentation" class="divider"></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
          </ul>
        </li>
        <li class="dropdown"> 
          <a id="drop4" role="button" data-toggle="dropdown" href="#"><b>OPERACIONES</b> <b class="caret"></b></a>
          <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
            <li role="presentation"><h:commandLink  role="menuitem" tabindex="-1" value="Registrar Pedido"></h:commandLink></li>
            <li role="presentation"><h:commandLink action="#{ordenTrabajoBean.iniciar()}" role="menuitem" tabindex="-1" value="Registrar &#211;rdenes de Trabajo"></h:commandLink></li> 
            <li role="presentation"><h:commandLink action="#{priorizarOrdenes.iniciar()}" role="menuitem" tabindex="-1" value="Priorizar &#211;rdenes de Trabajo"></h:commandLink></li>            
            <li role="presentation"><h:commandLink action="#{asignaOrdenMaquina.iniciar()}" role="menuitem" tabindex="-1" value="Asignar &#211;rdenes de Trabajo en Maquinas"></h:commandLink></li>
          </ul>
        </li>
        <li class="dropdown"> 
         <a id="drop4" role="button" data-toggle="dropdown" href="#"><b>CONSULTAS</b> <b class="caret"></b></a>
          <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
            <li role="presentation" class="divider"></li>
            <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
          </ul>
        </li>  
        <li class="dropdown"> 
          <a id="drop4" role="button" data-toggle="dropdown" href="#"><b>MANTENIMIENTOS</b> <b class="caret"></b></a>
          <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
              <li role="presentation"><h:commandLink action="#{clienteBean.iniciar()}" role="menuitem" tabindex="-1" value="Clientes"></h:commandLink></li>
              <li role="presentation"><h:commandLink action="#{persona.iniciar()}" role="menuitem" tabindex="-1" value="Persona"></h:commandLink></li>            
              <li role="presentation"><h:commandLink action="#{permisos.iniciar()}" role="menuitem" tabindex="-1" value="Usuarios y Permisos"></h:commandLink></li>            
          </ul>         
        </li>
        <li class="dropdown navbar-right"> 
            <div style="padding-top: 4px; padding-right: 3px;">                      
                <h:commandButton value="Salir" class="btn btn-danger" action="#{login.cerrarSesion()}"/>
            </div>
        </li>    
      </ul> <!-- /tabs -->
    </div> <!-- /example -->
    
</h:form>
</div>
   

</html>
